package org.kotboot.service;

import org.kotboot.dao.CarouselDao;
import org.kotboot.dao.CommodityTopDao;
import org.kotboot.domain.Carousel;
import org.kotboot.domain.CommodityTop;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * [文件描述：]
 *
 * @author jisong.sun on 2017/11/17.
 */

@Service
public class CommodityTopServ {

    @Resource
    CommodityTopDao commodityTopDao;


    public List<CommodityTop> queryActive(){
        return commodityTopDao.queryAllActivity();
    }
}
